#pragma once
#include "messageHandler.h"
#include <string>
#include "udpSender.h"

class SearchServerMessageHandler : public MessageHandler<String,IPaddress>
{
public:
	SearchServerMessageHandler();
protected:
	virtual void handle(Message<String>* message, const IPaddress& attachment);
	virtual Message<String>* decode(Protocol<String>* packet, const IPaddress& attachment);
};

